package com.action.workcall;
import com.db.workcall.*;

import java.util.*;

public class MoveAction {
	private int no;
	private WorkCallDAO callDAO;
	
	public void setCallDAO(WorkCallDAO callDAO) {
		this.callDAO = callDAO;
	}
	
	public void setNo(int no) {
		this.no = no;
	}

	public String execute() throws Exception{
		callDAO.moveTrash(no);
		return "success";
	}
}
